<?php
/*
 * Name:      Quotations
 * Directory: quotation
 * Version:   1.0.0
 * Type:      user
 * UI Name:   Quotations
 * UI Icon:
 */

// MODULE CONFIGURATION DEFINITION
$config = array();
$config['mod_name'] = 'Expense amount';		// name the module
$config['mod_version'] = '1.0.0';		// add a version number
$config['mod_directory'] = 'task_expense';		// tell dotProject where to find this module
$config['mod_setup_class'] = 'CSetupTaskExpense';	// the name of the PHP setup class (used below)
$config['mod_type'] = 'user';			// 'core' for modules distributed with dP by standard, 'user' for additional modules from dotmods
$config['mod_ui_name'] = 'Expense amount';		// the name that is shown in the main menu of the User Interface
$config['mod_ui_icon'] = 'taskexpense.jpg';	// name of a related icon
$config['mod_description'] = '';	// some description of the module
$config['mod_config'] = false;			// show 'configure' link in viewmods
// show module configuration with the dPframework (if requested via http)
if (@$a == 'setup') {
	echo dPshowModuleConfig( $config);
}

class CSetupTaskExpense {
	function configure() {		// configure this module
		global $AppUI;
		$AppUI->redirect('m=task_expense&a=configure');	// load module specific configuration page
  		return true;
	}

	function remove() {		// run this method on uninstall process
	}


	function upgrade($old_version) {	// use this to provide upgrade functionality between different versions; not relevant here
	}

	function install() {
	}

}

?>